﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="Sharp.Services.Test" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="Scripts/jquery-3.3.1.js"></script>
    <script>
          $(function() {
            $.post("http://serv.abc.com/Platform/api/UserService/RelationUserForGroup/", {
                groupIds: [1],
                userIds: [1, 2]
            }, function (result) {
                debugger;
                if (data.errors.length > 0) {
                    swal("出错啦！", data.errors, "error");

                } else {
                    window.app.message("保存成功。");
                }
            });
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            test
        </div>
    </form>
</body>
</html>
